<?php

namespace app\api\model;

class Feedback extends \app\common\model\Feedback
{
    /**
     * 添加一条反馈记录
     * @param $oauthId
     * @param $content
     * @param $phone
     */
    public static function addOne($oauthId, $content, $phone)
    {
        static::create([
            'oauth_id' => $oauthId,
            'content' => $content,
            'phone' => $phone
        ]);
    }
}